<template>
  <div class="page">
    <div class="page__top">
      <router-view></router-view>
    </div>
    <div class="page__footer">
      <van-tabbar :fixed="false" route>
        <van-tabbar-item replace to="/films" icon="home-o">电影</van-tabbar-item>
        <van-tabbar-item replace to="/cinemas" icon="search">影院</van-tabbar-item>
        <van-tabbar-item replace to="/center" icon="setting-o">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script lang="ts" setup>

</script>

<style lang="scss" scoped>
.page {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  &__top{
    flex: 1;
    overflow: hidden;
  }
}
</style>
